package com.ruicar.afs.cloud.channel.online.entity;


import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * @author mingzhi.li
 * @date 2020年6月5日  10:18:20
 */
@Data
@TableName("channel_archives_info")
@ApiModel(value = "渠道建档流水表")
public class ChannelArchivesInfo extends BaseEntity<ChannelArchivesInfo> {

    /**
     * 渠道ID
     */
    @JsonSerialize(using= ToStringSerializer.class)
    @JSONField(serializeUsing = com.alibaba.fastjson.serializer.ToStringSerializer.class)
    private Long channelId;
    /**
     * 事件名称
     */
    private String eventName;
    /**
     * 描述
     */
    private String description;
}
